package com.xd.pre.common.utils;

import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * json返回数据类型. <br/>
 * date: 2015年10月26日 上午9:34:50 <br/>
 *
 * @author songjiesdnu@163.com
 */
@Data
public class Result {
    private static Logger logger = LoggerFactory.getLogger(Result.class);
    public static final String SUCCESS = "success";
    public static final String FAILED = "failed";
    public static final String FAILED_3 = "failed-3"; //diy

    private String status = SUCCESS;    //默认成功
    private String tipCode = "";        //
    private String tipMsg = "";            //
    private Object data;                // 最终的结果      有些项目写作： result


//	private int status = -1;	//默认不成功
//	public int getStatus() {
//		return status;
//	}
//	public void setStatus(int status) {
//		this.status = status;
//	}


}

